@W-20615533 Search popup – Ask Shopping Agent banner and Embedded Messaging#3658
Merged
sf-tejas-nadkarni merged 3 commits intodevelopfrom Feb 18, 2026
Merged
Conversation
Collaborator
✅ Snyk checks have passed. No issues have been found so far.
💻 Catch issues earlier using the plugins for VS Code, JetBrains IDEs, Visual Studio, and Eclipse. |
3121fd8 to
7383290
Compare
f7d4c92 to
111c076
Compare
packages/template-retail-react-app/app/components/search/partials/ask-assistant-banner.jsx
Outdated
Show resolved
Hide resolved
shethj
reviewed
Feb 17, 2026
packages/template-retail-react-app/app/components/search/index.jsx
Outdated
Show resolved
Hide resolved
shethj
reviewed
Feb 17, 2026
packages/template-retail-react-app/app/components/search/partials/ask-assistant-banner.jsx
Show resolved
Hide resolved
shethj
reviewed
Feb 17, 2026
packages/template-retail-react-app/app/components/search/partials/search-suggestions.jsx
Show resolved
Hide resolved
shethj
reviewed
Feb 17, 2026
...ages/template-retail-react-app/app/components/search/partials/search-suggestions-section.jsx
Outdated
Show resolved
Hide resolved
shethj
approved these changes
Feb 18, 2026
kevinxh
approved these changes
Feb 18, 2026
| enableAgentFromFloatingButton: 'false', | ||
| enableAgentFromSearchSuggestions: 'false' | ||
| } | ||
| return getConfig().app.commerceAgent ?? defaults |
Contributor
There was a problem hiding this comment.
@sf-tejas-nadkarni forgot to add this -
With ?? only the commerceAgent configs will be taken in and not the default. Just want to check if we have added all the null/undefined checks if commerceAgent doesent pass in the config keys
Contributor
There was a problem hiding this comment.
nvm, we should be good
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Adds an “Ask Shopping Agent” entry point in the search suggestions popup and wires it to the existing Embedded Messaging (Shopper Agent) chat. When the feature is enabled, users see a banner in the search dropdown that opens the Shopping Agent chat on click.
Types of Changes
Changes
Search popup – Ask Assistant
AskAssistantBanner – New banner in search suggestions (desktop and mobile) with title “Ask Shopping Agent” and short description; click opens chat and clears the search input.
Search component – Reads enableAgentFromSearchSuggestions from commerce agent config and passes onAskAssistantClick (calls launchChat() + clearInput()) into suggestion partials.
How to Test-Drive This PR
Checklists
General
Accessibility Compliance
You must check off all items in one of the follow two lists:
or...
Localization